<!DOCTYPE html>
<head>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
</head>
<body>
    
    <div id="app"> {{age}} 
        <button v-on:click="age--">减少一岁</button>
        <button v-on:click="age++">增加一岁</button>
        <p>马云的年龄:{{age}}岁</p>
    </div>
    <script>    
    new Vue({
       el:'#app',
       data:{age:"50"},
    })
</script>
</body>

</html>
